#include "stdafx.h"
#include "File.h"

namespace ExcelLibrary
{
	IFile* __stdcall OpenFile(const wchar_t* pFileName)
	{
		CFile* pFile = new CFile;

		if (!pFile->Open(pFileName))
		{
			pFile->Release();
			pFile = NULL;
		}

		return pFile;
	}
}